spacer
spacerLokken Logo
spacerLokken Binary Logo
spacer
spacer
spacer
spacer spacer spacer spacer
Email Object
Language:   Server Sided ASP - JavaScript
Author:   Jon Lokken
Date:   4-8-2005

Description: View Example
Check Example
Using the ASP CDONTS object you can send text or html emails.

<%@ LANGUAGE="JavaScript" %>
<% Response.buffer=true %>
<%

objMsg = Server.CreateObject("CDONTS.NewMail")

objMsg.subject = "Test Email";
objMsg.from = "test@lokken.net";
objMsg.to = "test@lokken.net";
objMsg.cc = "test@lokken.net";
objMsg.bcc = "test@lokken.net";
objMsg.Importance = 2;
objMsg.MailFormat = 0;
objMsg.BodyFormat = 0;
objMsg.body = "Test Email<br><br>Webmaster";

objMsg.send();


 

%>
 


Disclaimer:
Feel free to use this code I have written.  I only ask that you leave my name in the comments.  I take no responsibility for this code working, imply no warranty as to it's validity, and will not be held liable if you decide to try it.  I am only trying to help out others so they don't have to struggle with the same problems as me...

Associated Sites: Jon Lokken - http://www.jonlokken.com | Amy Lokken - http://www.amylokken.com | Isabel Lokken - http://www.isabellokken.com | Elizabeth Lokken - http://www.elizabethlokken.com | Lokken.us - http://www.lokken.us | Lokken.co - http://www.lokken.co | Lokken Consulting - http://www.lokkenconsulting.com
Author: Jon Lokken - http://www.lokken.net